package com.chuangke.metadata.service;

import com.chuangke.framework.service.OrderModelService;
import com.chuangke.metadata.entity.SysGridColumn;
import com.chuangke.metadata.entity.SysGridModel;

import java.util.List;

public interface SysGridModelService extends OrderModelService<SysGridModel>{
	
	/**
	 * 只保存模型表头
	 * @param model
	 */
	void saveSysGridMode(SysGridModel model);

	/**
	 * 删除模型
	 * @param id
	 */
	void delete(String id);
	
	/**
	 * 只保存模型列信息
	 * @param model
	 */
	void saveSysGridModelColumn(SysGridModel model) ;

    void addModelCoumn(SysGridColumn column);

    void delModelColumns(List<String> idList);
}
